package cn.cai.pethome.system.domain;


import cn.cai.pethome.base.domain.BaseDomain;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author xiaocai
 * @since 2022-09-05
 */
@Data
public class Role extends BaseDomain {

    private static final long serialVersionUID = 1L;

    private String name;
    private String sn;

   private List<Long> permissionIds = new ArrayList<>();

   //当前角色的权限组成树形结构
   private List<List<Long>> permissionTree = new ArrayList<>();




}
